#ifndef __SERVO_ACTION_H
#define __SERVO_ACTION_H


#include "trace.h"
#include "LobotSerialServo.h"
#include "control.h"

#include "tim.h"


#define  CLAW_TIM            htim4
#define  CLAW_TIM_CHANNEL    TIM_CHANNEL_1



extern uint8_t raspberrypiStartFlag;



void ClawMove(int actionVal, int delayTime);
void ClawClose(void);
void ClawOpen(void);
void ServoMotorInit(void);
wheelStatus ServoAction(pos a);
void Serial_IT(UART_HandleTypeDef *huart);


#endif
